package com.wr.recruit.service.dao.repo;

import com.wr.recruit.service.dao.dbo.RoleDbo;
import org.springframework.data.jpa.repository.JpaRepository;

public interface RoleRepo extends JpaRepository<RoleDbo, String> {

    RoleDbo findAllById(Integer roleId);

    RoleDbo findAllByRoleName(String roleName);

    RoleDbo findAllByRoleCode(String roleCode);
}
